<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
{{assign var="title" value='项目'}}
{{assign var="app" value='listing'}}
{{assign var="table" value='datas'}}
{{assign var="act" value='modify'}}
{{assign var="sex" value='sex'|C}}
<title>{{$title}} - {{'admin|admin_site_name'|C|default:'后台管理'}}</title>
{{include file="include/base.html"}}
{{include file="{{$smarty.const.PLUG}}chosen/chosen.html"}}
{{include file="{{$smarty.const.PLUG}}drag/drag.html"}}
{{include file="{{$smarty.const.PLUG}}verify/verify.html"}}
</head>

<body>

	{{include file="include/sidebar.html"}}

	<div class="body_right">
	<div id="content">
	<div class="search">
		<ul class="bread">
			<li>◆ {{$title}}“ {{$result.project}} ”管理 －> {{$result.title|default:'查看'}}</li>
		</ul>
	</div>
			
		<!--内容 S-->
		<form action="index.php?app={{$app}}&act=save" name="form" class="verify" method="post">
		<input type="hidden" name="id" value="{{$result.id}}"/>
		<input type="hidden" name="item" value="{{$item}}"/>
		<table class="table table-bordered tablest modify">
		  <tbody>
		  <tr>
			  <td colspan="2" style="text-align:center">{{$result.year}}年培育项目查看</td>
		  </tr>
		  <tr>
			  <td>项目名称：</td>
			  <td>{{$result.project}}</td>
		  </tr>
		  <tr>
			  <td>项目负责人：</td>
			  <td>{{$result.username}}</td>
		  </tr>
		  <tr>
			  <td>负责人联系方式：</td>
			  <td>{{$result.number}}</td>
		  </tr>
		  <tr>
			  <td>所属院系：</td>
			  <td>{{$result.college}}</td>
		  </tr>

		  <tr>
			  <td>项目领域：</td>
			  <td>
				  {{foreach from=$result.field item=val key=key}}
				  <span>{{$val}},</span>
				  {{/foreach}}
			  </td>
		  </tr>
		  <tr>
			  <td colspan="2" style="text-align:center">项目成员</td>
		  </tr>
		  {{if $result.members.student}}
		  {{foreach from=$result.members.student item=val key=key}}
		  <tr>
			  <td>{{$key+1}}</td>
			  <td>{{$val.0}}为团队成员，联系方式为{{$val.1}}</td>
		  </tr>
		  {{/foreach}}
		  {{/if}}
		  <tr>
			  <td colspan="2" style="text-align:center">指导老师</td>
		  </tr>
		  {{if $result.members.teacher}}
		  <tr>
			  <td>姓名：</td>
			  <td>{{$result.members.teacher.username}}</td>
		  </tr>
		  <tr>
			  <td>联系方式：</td>
			  <td>{{$result.members.teacher.number}}</td>
		  </tr>
		  <tr>
			  <td>邮箱：</td>
			  <td>{{$result.members.teacher.email}}</td>
		  </tr>
		  <tr>
			  <td>院系：</td>
			  <td>{{$result.members.teacher.college}}</td>
		  </tr>
		  {{/if}}
		  <tr>
			  <td>项目附件</td>
			  <td>
				  {{form type="file" data=$result.files item='download_file' ext='' maxsize="30m"}}
			  </td>
		  </tr>
		  <tr>
			  <td>项目描述：</td>
			  <td><textarea class="input-xlarge" style="width:700px; height:150px;">{{$result.params.descride}}</textarea></td>
		  </tr>
		  <tr>
			  <td>负责人简介：</td>
			  <td><textarea class="input-xlarge" style="width:700px; height:150px;">{{$result.params.personal}}</textarea></td>
		  </tr>
		  </tbody>
		</table>
		</form>
		<!--内容 E-->
	<!-- 历史记录 -->
</div>
</div>
{{include file="{{$smarty.const.PLUG}}ueditor/ueditor.html"}}
</body>
<script type="text/javascript">
	//日志显示隐藏切换
	function change($key){
		$(document).ready(function(){
			var key = $key;
			$("#icon" + key).toggleClass('icon-minus');
			$("#content" + key).toggle();
		});
	}
</script>
</html>